﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Security.aspx.cs" Inherits="SiteSecurity.SecurityHierarchy" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <h2>Site Security</h2>
    <table cellpadding="5" border="1">
        <td valign="top" width="50%">
            <label ID="brokenInheritanceLabel" runat="server" />
            <asp:Button ID="expand" Text="Expand All" OnClick="expand_Click" runat="server" />
            <asp:Button ID="collapse" Text="Collapse All" OnClick="collapse_Click" runat="server" />
            <br />
            <asp:TreeView ID="securityAdministrationViewer" runat="server" ShowLines="true" EnableViewState="true" SelectAction="none" OnTreeNodeExpanded="SP_Node_Expand">
            </asp:TreeView>
        </td>
        
        <td valign="top" width="50%">
            <label ID="ADEntriesLabel" runat="server" />
            <asp:TreeView ID="ADEntries" runat="server" ShowLines="true" EnableViewState="true" OnTreeNodeExpanded="AD_Node_Expand">
            </asp:TreeView>
        </td>
    </table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Site Security
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
Site Security
</asp:Content>